interface acc1{
  name:string,
  age:number
}
interface acc2 extends acc1{
  career:string
}
var a:acc2={
  name:'张三',
  age:18,
  career:"老师"
}
console.log(a);
